Skip to main content

All Questions

2votes
1answer
440views

How to find which mountpoint current working directory of a process correspond to?

I have a program a.out running from /tmp/test. If I list /proc/$(pgrep a.out)/cwd, it is a symbolic link to /tmp/test. Now, I bind /mnt/othertest onto /tmp/test with mount -o bind /mnt/othertest /tmp/...
rools's user avatar

close